package zhu.areas.team.data;

import java.util.Date;

import zhu.areas.dic.data.TeamAuState;
import zhu.areas.dic.data.TeamField;



/**
 * @hibernate.class table="T_Team" dynamic-insert="true" dynamic-update="true"
 * @author Administrator
 * 
 */
public class Team implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int teamID;
	private int teamFounderID;
	private String teamName;
	private String teamLevel;
	private int teamExp;
	private Date regDate;
	private TeamField teamNowField;//数据库中未建立外键关系
	private TeamField teamGoalField;//数据库中未建立外键关系
	private TeamAuState teamstatue;//数据库中未建立外键关系
	private String teamSlogan;
	private String teamLogo; 

	
	
	public Team() {

	}

	public Team(int teamID) {
		this.teamID = teamID;
	}


	/**
	 * @hibernate.id column="TeamID" generator-class="increment"   unsaved-value="null"
	 * @return
	 */
	public int getTeamID() {
		return teamID;
	}
	public void setTeamID(int teamID) {
		this.teamID = teamID;
	}
	/**
	 * @hibernate.property  column="TeamFounderID"    not-null="true"
	 * @return
	 */	
	public int getTeamFounderID() {
		return teamFounderID;
	}

	public void setTeamFounderID(int teamFounderID) {
		this.teamFounderID = teamFounderID;
	}
	/**
	 * @hibernate.property column="TeamName"    not-null="true"
	 * @return
	 */	

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}
	/** 
	*@hibernate.many-to-one class="zhu.areas.dic.data.TeamField"    
	* column="TeamNowField"    lazy="false"
	*/
	public TeamField getTeamNowField() {
		return teamNowField;
	}

	public void setTeamNowField(TeamField teamNowField) {
		this.teamNowField = teamNowField;
	}
	/** 
	*@hibernate.many-to-one class="zhu.areas.dic.data.TeamField"    
	* column="TeamGoalField"   lazy="false"
	*/

	public TeamField getTeamGoalField() {
		return teamGoalField;
	}

	public void setTeamGoalField(TeamField teamGoalField) {
		this.teamGoalField = teamGoalField;
	}
	/**
	 * @hibernate.property column="TeamExp"    not-null="true"
	 * @return
	 */	
	public int getTeamExp() {
		return teamExp;
	}
	public void setTeamExp(int teamExp) {
		this.teamExp = teamExp;
	}
	/**
	 * @hibernate.property column="TeamLevel"    not-null="true"
	 * @return
	 */	

	public String getTeamLevel() {
		return teamLevel;
	}

	public void setTeamLevel(String teamLevel) {
		this.teamLevel = teamLevel;
	}
	/**
	 * @hibernate.property column="RegDate"   not-null="true"
	 * @return
	 */	

	public Date getRegDate() {
		return regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	/**
	 * @hibernate.property column="TeamLogo"   
	 * @return
	 */	
	public String getTeamLogo() {
		return teamLogo;
	}
	public void setTeamLogo(String teamLogo) {
		this.teamLogo = teamLogo;
	}
	/**
	 * @hibernate.property column="TeamSlogan"   
	 * @return
	 */	

	public String getTeamSlogan() {
		return teamSlogan;
	}

	public void setTeamSlogan(String teamSlogan) {
		this.teamSlogan = teamSlogan;
	}
	/**
	 * @hibernate.many-to-one class="zhu.areas.dic.data.TeamAuState"
	 *       column="TeamAuState" not-null="true" lazy="false"
	 */
	public TeamAuState getTeamstatue() {
		return teamstatue;
	}

	public void setTeamstatue(TeamAuState teamstatue) {
		this.teamstatue = teamstatue;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}


}
